package com.mark.pojo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;             //用户ID
    private String username;        //用户名
    private String password;        //密码
    private String email;           //邮箱
    private String phone;           //手机
    private String userImg;         //用户头像
    private String question;        //找回密码的设置问题
    private String answer;          //答案
    private String gender;          //性别
    private Integer enableStatus;   //状态
    private Integer role;           //身份【1：普通用户】 【2：卖家】
    private Date createTime;        //创建时间
    private Date lastEditTime;      //上一次修改时间
    private String remark;          //管理员给予的备注

}